from . import path_utils
from . import log_utils
from . import file_utils


def to_set_logger(logger, m_list):
    if logger is None:
        return
    for m in m_list:
        if hasattr(m, "logger"):
            m.logger = logger
        if hasattr(m, 'set_logger'):
            m.set_logger(logger)

